package com.kitty.game.haoxinzhi.model;

public class HaoXinZhiShop {
   private String wupinname;
   private int price;
   private String str;

   public String getWupinname() {
      return this.wupinname;
   }

   public int getPrice() {
      return this.price;
   }

   public String getStr() {
      return this.str;
   }

   public void setWupinname(String wupinname) {
      this.wupinname = wupinname;
   }

   public void setPrice(int price) {
      this.price = price;
   }

   public void setStr(String str) {
      this.str = str;
   }

   public boolean equals(Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof HaoXinZhiShop)) {
         return false;
      } else {
         HaoXinZhiShop other = (HaoXinZhiShop)o;
         if (!other.canEqual(this)) {
            return false;
         } else {
            label39: {
               Object this$wupinname = this.getWupinname();
               Object other$wupinname = other.getWupinname();
               if (this$wupinname == null) {
                  if (other$wupinname == null) {
                     break label39;
                  }
               } else if (this$wupinname.equals(other$wupinname)) {
                  break label39;
               }

               return false;
            }

            if (this.getPrice() != other.getPrice()) {
               return false;
            } else {
               Object this$str = this.getStr();
               Object other$str = other.getStr();
               if (this$str == null) {
                  if (other$str != null) {
                     return false;
                  }
               } else if (!this$str.equals(other$str)) {
                  return false;
               }

               return true;
            }
         }
      }
   }

   protected boolean canEqual(Object other) {
      return other instanceof HaoXinZhiShop;
   }

   public int hashCode() {
      boolean PRIME = true;
      int result = 1;
      Object $wupinname = this.getWupinname();
      result = result * 59 + ($wupinname == null ? 43 : $wupinname.hashCode());
      result = result * 59 + this.getPrice();
      Object $str = this.getStr();
      result = result * 59 + ($str == null ? 43 : $str.hashCode());
      return result;
   }

   public String toString() {
      return "HaoXinZhiShop(wupinname=" + this.getWupinname() + ", price=" + this.getPrice() + ", str=" + this.getStr() + ")";
   }
}
